home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 14054 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: druid.borland.com!usenet
  2. From: pete@borland.com (Pete Becker)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: STDIO.H
  5. Date: 11 Apr 1996 16:00:28 GMT
  6. Organization: Borland International
  7. Message-ID: <4kjaas$jp2@druid.borland.com>
  8. References: <4ke6d8$r42@newsbf02.news.aol.com> <316ADBEA.3FE8@willows.com>
  9. NNTP-Posting-Host: pbecker.borland.com
  10. Mime-Version: 1.0
  11. Content-Type: Text/Plain; charset=ISO-8859-1
  12. X-Newsreader: WinVN 0.99.5
  13.  
  14. In article <316ADBEA.3FE8@willows.com>, tarang@willows.com says...
  15. >
  16. >JeffSCman wrote:
  17. >> 
  18. >> I am using Borlandc C++ 3.1.  In STDIO.H the constant FOPEM_MAX is defined
  19. >> using the constant _NFILE_ which == 20.  This limits the number of files
  20. >> that I can open at one time to 20 files. I need more.  Can I increase this
  21. >> value safely ??
  22. >> 
  23. >> Thanx
  24. >> Jeff
  25. >
  26. >No.  MS-DOS has a limit of 20 open file handles at a time.  Even if you did
  27. >enlarge the number when you attempted to open the 20th file you would get 
  28. >back an error.  Note that you can not actually open 20 files since there are
  29. >some files open automatically.
  30.  
  31. Yes, you can increase the number of file handles that can be open at once. You 
  32. have to combine a DOS call with a change to the RTL. If you need details on 
  33. doing this, there's a tech fax available with complete instructions.
  34.  
  35.